package com.wg.springboot.service.serviceImpl;

import com.wg.springboot.mapper.StudentMapper;
import com.wg.springboot.model.Student;
import com.wg.springboot.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StudentServiceImpl implements StudentService {
    @Autowired
    private StudentMapper studentMapper;
    @Override
    public Student quaryStudentById(Integer id) {
        Student student=studentMapper.quaryStudentById(id);
        return student;
    }
}
